#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2019/11/4 下午1:47
# @Author  : fugang_le
# @Software: PyCharm

import pycorrector

sent = '少先队员因该为老人让坐'
sent = '今天我感帽了'
sent = '呃 。 呃 ,啊,那用户名称是叫什么呢？'
sent = '对京东新人度大打折扣'
sent = '广州黄浦'
sent = '我想买哥苹果手机'
sent = '这中方法很适合我们'

corrected_sent, detail = pycorrector.correct(sent)

print(corrected_sent, detail)


sent = '请问我家的存款有多少？'
corrected_sent, detail = pycorrector.correct(sent)

print(corrected_sent, detail)